package com.guochenglang.www.view.vo;

import com.guochenglang.www.pojo.Article;
import com.guochenglang.www.pojo.Traces;

/**
 * 文章的vo
 *
 * @author GuoChenglang
 */
public class ArticleView {
    /**
     * 文章
     */
    private Article article;
    /**
     * 作者名
     */
    private String author;
    /**
     * 浏览记录
     */
    private Traces traces;

    public Traces getTraces() {
        return traces;
    }

    public void setTraces(Traces traces) {
        this.traces = traces;
    }

    public ArticleView(Article article, Traces traces, String author) {
        this.article = article;
        this.traces = traces;
        this.author = author;
    }

    public ArticleView() {
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
